package net.maku.kyy.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import java.time.LocalDateTime;

/**
 * 小程序首页游戏
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */

@Data
@TableName("kyy_fix")
public class KyyFixEntity {
	@TableId
	@TableField(value = "id")
	private Integer id;

	/**
	* logo
	*/
	@TableField(value = "logo")
	private String logo;

	/**
	* 游戏appid
	*/
	@TableField(value = "appid")
	private String appid;

	/**
	* 游戏名
	*/
	@TableField(value = "name")
	private String name;

	/**
	* 背景图
	*/
	@TableField(value = "background")
	private String background;

	/**
	* 描述
	*/
	@TableField(value = "depict")
	private String depict;

	@Version
	@TableField(value = "version", fill = FieldFill.INSERT)
	private Integer version;

	@TableLogic
	@TableField(value = "deleted", fill = FieldFill.INSERT)
	private Integer deleted;

	@TableField(value = "creator", fill = FieldFill.INSERT)
	private Long creator;

	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@TableField(value = "updater", fill = FieldFill.INSERT_UPDATE)
	private Long updater;

	@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}